<app-line-text-widget [currentWidget]="widget" (resizeEvent)="(resizeWidget)"
    *ngIf="widget && widget.field === 'line-text'">text</app-line-text-widget>
<app-text-widget [currentWidget]="widget" (resizeEvent)="(resizeWidget)"
    *ngIf="widget && widget.field === 'text'">text</app-text-widget>
<app-table-widget [currentWidget]="widget" (resizeEvent)="(resizeWidget)"
    *ngIf="widget && widget.field === 'table'">table</app-table-widget>